//
//  MyDataViewModel.m
//  GuShiNews
//
//  Created by 丁一 on 2019/8/17.
//  Copyright © 2019 Jones. All rights reserved.
//

#import "MyDataViewModel.h"
#import "CenterModel.h"

@implementation MyDataViewModel

- (instancetype)init:(id)responseObject{
    if (self = [super init]) {
        
        self.dataSource = [NSMutableArray new];
        
        NSMutableArray *array002 = [NSMutableArray new];
        [self.dataSource addObject:array002];
        
        for (int i=0; i<5; i++) {
            CenterModel *model = [CenterModel new];
            model.Height = 55;
            if (i==0) {
                model.Tittle = @"头像";
                model.Type   = @"0";
                model.IsExit = YES;
                model.Height = 85;
            }else if (i==1) {
                model.Tittle = @"昵称";
                model.Type   = @"1";
                model.IsExit = YES;
            }else if (i==2){
                model.Tittle = @"性别";
                model.Type   = @"1";
                model.IsExit = NO;
            }else if (i==3){
                model.Tittle = @"年龄";
                model.Type   = @"10";
                model.IsExit = YES;
            }else if (i==4){
                model.Tittle = @"密码";
                model.Type   = @"10";
                model.IsExit = YES;
            }
            [array002 addObject:model];
        }
        
    }
    return self;
}

@end
